-- GENERATED SPELL FOR [Hatefury Betrayer] --


function spell0_4673(pUnit, Event) --@Enrage,Self--
pUnit:FullCastSpellOnTarget(8599,pUnit)
pUnit:RegisterEvent('Sorts_4673', 605, 1)
end

function Sorts_4673(pUnit, Event)
local choix_sorts_4673 = math.random(0, 0)
if choix_sorts_4673 == 0 then
pUnit:RegisterEvent('spell0_4673', 1, 1)
end
end

function mob4673_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4673', math.random(1500, 3000), 1)
end

function mob4673_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4673_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4673_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4673, 1, 'mob4673_Action')
RegisterUnitEvent(4673, 2, 'mob4673_Leave')
RegisterUnitEvent(4673, 3, 'mob4673_Kill')
RegisterUnitEvent(4673, 4, 'mob4673_Die')
